<#macro Page title="">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta name="author" content="Tomasz Galuszka">
	<meta name="copyright" content="&copy; 2012 Politechnika Krakowska">
	<meta name="keywords" content="platforma e-prawojazdy">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<link rel="Shortcut icon" href="images/app.ico" />
	<title>${title}</title>
	<script type="text/javascript" src="scripts/lib/dojo/dojo/dojo.js" data-dojo-config="'parseOnLoad':true,'async':true,
	'packages':[
		{'name':'widgets','location':'../../custom'}]"></script>
	<style>
		@import "css/themes/claro/document.css";
		@import "css/themes/claro/claro.css";
		@import "css/app.css";
	</style>
</head>
<body class="claro">
	<#nested>
</body>
</html>
</#macro>

<#macro button text="" url="" id="">
<script>
	require(["dojo/parser", "dijit/form/Button"]);
</script>
	
<button data-dojo-type="dijit.form.Button" type="button" id="${id}">${text}
	<script type="dojo/connect" data-dojo-event="onClick">
		window.location = "${url}";
	</script>
</button>
</#macro>